export  function user(state={userName:'user1'},action) {
  switch (action.type) {
    case 'USER':
    return {
      ...state,
      ...action.data
    }
    default: return state
  }
}